home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
pascal
/
swag
/
comm.swg
/
0020_Get Serial Port Timeout.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-08-18
|
331 b
|
12 lines
FUNCTION Serial_Time_Out(COM : byte) : byte;
{ DESCRIPTION:
Time-Out values for RS232 communications lines.
SAMPLE CALL:
NB := Serial_Time_Out(1);
NOTES:
The allowed values for COM are: 1,2,3 or 4. }
BEGIN { Serial_Time_Out }
Serial_Time_Out := Mem[$0000:$047C + Pred(COM)];
END; { Serial_Time_Out }